import request from '@/router/axios'

export function fetchData (query) {
  return request({
    url: '/admin/index/setData',
    method: 'get',
    params: query
  })
}

export function put (query) {
  return request({
    url: '/admin/index/set',
    method: 'post',
    data: query
  })
}
